home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
701-725
/
708
/
intuisup
/
intuisup42.lha
/
Intuisup
/
source.lha
/
Pointer
/
pointer.h
< prev
Wrap
C/C++ Source or Header
|
1992-04-13
|
2KB
|
56 lines
/* $Revision Header *** Header built automatically - do not edit! ***********
*
* (C) Copyright 1992 by Torsten Jürgeleit
*
* Name .....: pointer.h
* Created ..: Wednesday 08-Jan-92 22:34:45
* Revision .: 0
*
* Date Author Comment
* ========= ==================== ====================
* 08-Jan-92 Torsten Jürgeleit Created this file!
*
****************************************************************************
*
* Structures, prototypes and pragmas for mouse pointer functions
*
* $Revision Header ********************************************************/
#ifndef ISUP_MOUSE_POINTER_H
#define ISUP_MOUSE_POINTER_H
/* Structures for mouse pointer */
struct PointerData {
UBYTE pd_Width;
UBYTE pd_Height;
BYTE pd_XOffset;
BYTE pd_YOffset;
UWORD *pd_Data;
};
struct PointerList {
LONG pl_ID; /* id = 'ISUP' */
UBYTE pl_Width;
UBYTE pl_Height;
BYTE pl_XOffset;
BYTE pl_YOffset;
UWORD *pl_Data;
UWORD *pl_Buffer; /* if non NULL then chipmem buffer was allocated */
LONG pl_BufferSize;
struct Menu *pl_Menu; /* saved menu before installing busy pointer */
struct PointerList *pl_Next;
};
/* Global prototypes */
VOID change_mouse_pointer(struct Window *win, struct PointerData *pd);
VOID restore_mouse_pointer(struct Window *win);
VOID move_mouse_pointer(struct Window *win, SHORT x, SHORT y, BOOL button);
/* Global pragmas (Aztec C v5.2a) */
#pragma intfunc(change_mouse_pointer(a0,a1))
#pragma intfunc(restore_mouse_pointer(a0))
#pragma intfunc(move_mouse_pointer(a0,d0,d1,d2))
#endif /* ISUP_MOUSE_POINTER_H */